Skip to content

Conversation

Jozott00
Copy link
Collaborator

Subsystem
gRPC/Native

Solution
This PR uses the grpc-core (C) library to support client calls for Kotin/Native.

@Jozott00 Jozott00 requested a review from Mr3zee August 18, 2025 16:11
@Jozott00 Jozott00 self-assigned this Aug 18, 2025
@Jozott00 Jozott00 added the feature New feature or request label Aug 18, 2025
Copy link
Member

@Mr3zee Mr3zee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, great work! Thanks for the amount of comments and the big test set, it was very pleasant to read!

I have some comments and suggestions below, please address them before merging.

One big question that I have, is using C lib instead of C++ one - how hard it would be for use to support gRPC features as Auth, interceptors, etc? It is available is C API?

@Jozott00 Jozott00 requested a review from Mr3zee August 19, 2025 15:20
Copy link
Member

@Mr3zee Mr3zee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Please look at the comments below
Also, please revisit all places where you do check and replace with internalError if needed, I saw at least one such place

Signed-off-by: Johannes Zottele <[email protected]>
Signed-off-by: Johannes Zottele <[email protected]>
Signed-off-by: Johannes Zottele <[email protected]>
Signed-off-by: Johannes Zottele <[email protected]>
Signed-off-by: Johannes Zottele <[email protected]>
Signed-off-by: Johannes Zottele <[email protected]>
Signed-off-by: Johannes Zottele <[email protected]>
@Jozott00 Jozott00 force-pushed the grpc/service-native branch from c5fd51e to 10f4c7b Compare August 19, 2025 16:18
@Jozott00 Jozott00 merged commit 2b7a9fa into grpc-common Aug 19, 2025
1 of 5 checks passed
Mr3zee pushed a commit that referenced this pull request Aug 21, 2025
* grpc-native: Initial client setup

Signed-off-by: Johannes Zottele <[email protected]>

* grpc-native: Working CompletionQueue

Signed-off-by: Johannes Zottele <[email protected]>

* grpc-native: Working version of NativeClientCall

Signed-off-by: Johannes Zottele <[email protected]>

* grpc-native: Working rewrite state

Signed-off-by: Johannes Zottele <[email protected]>

* grpc-native: Add callback future

Signed-off-by: Johannes Zottele <[email protected]>

* grpc-native: Refactor to use callbacks instead of coroutines

Signed-off-by: Johannes Zottele <[email protected]>

* grpc-native: Fixes after rebase

Signed-off-by: Johannes Zottele <[email protected]>

* grpc-native: Implement bridge to common

Signed-off-by: Johannes Zottele <[email protected]>

* grpc-native: Remove unnecessary C header definitions

Signed-off-by: Johannes Zottele <[email protected]>

* grpc-native: Rename grpcpp_c to kgrpc

Signed-off-by: Johannes Zottele <[email protected]>

* grpc-native: Reduce library dependencies (fixes KRPC-185)

Signed-off-by: Johannes Zottele <[email protected]>

* grpc-native: Write docs

Signed-off-by: Johannes Zottele <[email protected]>

* grpc-native: Address PR comments

Signed-off-by: Johannes Zottele <[email protected]>

* grpc-native: Address PR comments

Signed-off-by: Johannes Zottele <[email protected]>

---------

Signed-off-by: Johannes Zottele <[email protected]>
@Jozott00 Jozott00 deleted the grpc/service-native branch September 2, 2025 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants